#include <gtk/gtkaboutdialog.h>
#include "gnurilla.h"

#define VERSION "0.1"
#define COPYRIGHT "Copyright 2007-2008 (c) ScaccoMatto"
#define DESCRIPTION "Integrated Development Environment"
#define SITE "www.gnurilla.org"

void gnurilla_about ()
{
	GtkWidget *dialog;
	
	dialog = gtk_about_dialog_new();
	gtk_about_dialog_set_name(GTK_ABOUT_DIALOG(dialog), "Gnurilla");
	gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), VERSION);
	gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(dialog), COPYRIGHT);
	gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(dialog), DESCRIPTION);
	gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(dialog), SITE);
	
	gtk_dialog_run(GTK_DIALOG(dialog));
	gtk_widget_destroy(GTK_WIDGET(dialog));
};
